package cn.jyj.springframework.beans.factory;

/**
 * Interface to be implemented by beans that want to be aware of their bean name in a bean factory.
 *
 * 实现此接口，既能感知到所属的 BeanName
 *
 * @Author 老顽固小可爱
 * @Date 2023/1/9 14:29
 * @Version 1.0
 */
public interface BeanNameAware extends Aware {

    void setBeanName(String name);

}

